package com.example.zzh.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.zzh.entity.ZzhDepotHead;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zzh.entity.ZzhOrder;
import com.example.zzh.entity.ZzhStaff;

import java.util.HashMap;

/**
 * <p>
 * 单据主表 服务类
 * </p>
 *
 * @author zzh
 * @since 2023-08-21
 */
public interface ZzhDepotHeadService extends IService<ZzhDepotHead> {

    IPage pageName(Page<ZzhOrder> page);

    IPage pageNames(Page<ZzhOrder> page, Wrapper wrapper);

    Long saveDepotHead(ZzhDepotHead zzhDepotHead);

    Long selectId(String number);

    IPage pageNumber(Page<ZzhOrder> page, HashMap<String, Object> hashMap);

    ZzhDepotHead selectDepotHead(String linkNumber);

    int selectNumber(String start, String end, String subType);

    int selectMoney(String start, String end, String subType);

//    ZzhOrder getById(int id);
}
